#include<bits/stdc++.h>
using namespace std;
const int N=1e5+10;
int n,r[N],ttemp,i=1,temp;
int main()
{
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    ios::sync_with_stdio(0);
    cin.tie(0),cout.tie(0);
    cin>>n;
    for(int k=1;k<=n;k++)cin>>r[k];
    sort(r+1,r+n+1);
    temp=1;
    while(i<=n)
    {
        i++;
        for(i;i<=n;i++)
        {
            if(r[i]==r[i-1])temp++;
            else{
                break;
            }
        }
        if(ttemp<temp)ttemp=temp;
        temp=1;
    }
    cout<<ttemp<<'\n';
    return 0;
}
